/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package wf3.util;

import com.google.gson.annotations.Expose;
import java.io.Serializable;
import wf.dto.Ubigeo;

/**
 *
 * @author romulogalindo
 */
public class Distrito implements Serializable {

    @Expose
    private String co_distri;
    @Expose
    private String no_distri;

    public Distrito(Ubigeo ubigeo) {
        co_distri = ubigeo.getCo_ubigeo().substring(4, 6);
        no_distri = ubigeo.getNo_distri();
    }

    public String getCo_distri() {
        return co_distri;
    }

    public void setCo_distri(String co_distri) {
        this.co_distri = co_distri;
    }

    public String getNo_distri() {
        return no_distri;
    }

    public void setNo_distri(String no_distri) {
        this.no_distri = no_distri;
    }

}
